{template 'content','head'} 
<div class="page_containter">

<div class="textcontent">

          <table width="680" border="0" cellspacing="3" cellpadding="3" class="font" style="padding:20px">
              <tbody>
{pc:content action="category" catid="0" num="7" siteid="$siteid" order="listorder ASC" return="sitemap"}
                  <tr> 
                    <td style="line-height: 150%" width="80" align="center"><a href="{APP_PATH}">首页</a></td>
                    <td style="line-height: 150%"></td>
                  </tr>
{loop $sitemap $k $r}
                  <tr> 
                    <td style="line-height: 150%" width="80" align="center"><a href="{$r[url]}">{$r[catname]}</a></td>
                    <td style="line-height: 150%" >
{if $r[child]}
{pc:content action="category" catid="$k" num="20" siteid="$siteid" order="listorder ASC" return="submenu2"}
{loop $submenu2 $k $r}
                        <a href="{$r[url]}">{$r[catname]}</a> &nbsp; 
{/loop}
{/pc}
{/if}
                    </td>
                  </tr>
{/loop}
{/pc}
 </tbody>
          </table>
    </div>
    <div class="clear"></div>
</div>
{template 'content','foot'}